<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>File Source for formTodoListDel.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
											</head>
		<body>
						<h1>Source for file formTodoListDel.php</h1>
<p>Documentation is available at <a href="../default/_ays_application_view_formTodoListDel_php.html">formTodoListDel.php</a></p>
<div class="src-code">
<pre><ol><li><a name="a1"></a>&lt;h2&gt;Suppression de tâche(s)&lt;/h2&gt;</li>
<li><a name="a2"></a>&lt;form action=&quot;index.php?page=adminIndex&amp;mod=todo&amp;action=del&amp;option=check&quot; method=&quot;post&quot; class=&quot;cssForm&quot;&gt;</li>
<li><a name="a3"></a>    <span class="src-php">&lt;?php </span><span class="src-key">if</span><span class="src-sym">(</span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$aiassTasksList</span><span class="src-sym">) </span>!== <span class="src-num">0</span><span class="src-sym">)</span>: <span class="src-php">?&gt;</span></li>
<li><a name="a4"></a>        &lt;p class=&quot;nolabel&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Supprimer&quot; /&gt;&lt;/p&gt;</li>
<li><a name="a5"></a>        &lt;ul class=&quot;todoTask&quot;&gt;</li>
<li><a name="a6"></a>        <span class="src-php">&lt;?php </span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-var">$aiassTasksList </span><span class="src-key">as </span><span class="src-var">$asmTask</span><span class="src-sym">)</span>: <span class="src-php">?&gt;</span></li>
<li><a name="a7"></a>            <span class="src-php">&lt;?php</span></li>
<li><a name="a8"></a>            <span class="src-key">switch</span><span class="src-sym">(</span><span class="src-var">$asmTask</span><span class="src-sym">[</span><span class="src-str">'statusTask'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">{</span></li>
<li><a name="a9"></a>                <span class="src-key">case </span><span class="src-num">1</span>:</li>
<li><a name="a10"></a>                    <span class="src-var">$sColorStatus </span>= <span class="src-str">'#900'</span><span class="src-sym">;</span></li>
<li><a name="a11"></a>                <span class="src-key">break</span><span class="src-sym">;</span></li>
<li><a name="a12"></a>                <span class="src-key">case </span><span class="src-num">2</span>:</li>
<li><a name="a13"></a>                    <span class="src-var">$sColorStatus </span>= <span class="src-str">'#090'</span><span class="src-sym">;</span></li>
<li><a name="a14"></a>                <span class="src-key">break</span><span class="src-sym">;</span></li>
<li><a name="a15"></a>                <span class="src-key">case </span><span class="src-num">3</span>:</li>
<li><a name="a16"></a>                    <span class="src-var">$sColorStatus </span>= <span class="src-str">'#009'</span><span class="src-sym">;</span></li>
<li><a name="a17"></a>                <span class="src-key">break</span><span class="src-sym">;</span></li>
<li><a name="a18"></a>            <span class="src-sym">}</span></li>
<li><a name="a19"></a>            <span class="src-php">?&gt;</span></li>
<li><a name="a20"></a>            &lt;li style=&quot;color:<span class="src-php">&lt;?php </span>echo <span class="src-var">$sColorStatus </span><span class="src-php">?&gt;</span>&quot;&gt;</li>
<li><a name="a21"></a>                &lt;input type=&quot;checkbox&quot; name=&quot;idTaskDel[]&quot; value=&quot;<span class="src-php">&lt;?php </span>echo <span class="src-var">$asmTask</span><span class="src-sym">[</span><span class="src-str">'idTask'</span><span class="src-sym">] </span><span class="src-php">?&gt;</span>&quot; /&gt;</li>
<li><a name="a22"></a>                &lt;b&gt;<span class="src-php">&lt;?php </span>echo <span class="src-var">$asmTask</span><span class="src-sym">[</span><span class="src-str">'labelTask'</span><span class="src-sym">] </span><span class="src-php">?&gt;</span>&lt;/b&gt;&lt;span style=&quot;font-size:8px&quot;&gt;[<span class="src-php">&lt;?php </span>echo <span class="src-var">$asmTask</span><span class="src-sym">[</span><span class="src-str">'priorityTask'</span><span class="src-sym">] </span><span class="src-php">?&gt;</span>]&lt;/span&gt;  :&lt;br /&gt;</li>
<li><a name="a23"></a>                <span class="src-php">&lt;?php </span>echo <a href="http://www.php.net/nl2br">nl2br</a><span class="src-sym">(</span><span class="src-var">$asmTask</span><span class="src-sym">[</span><span class="src-str">'descriptionTask'</span><span class="src-sym">]</span><span class="src-sym">) </span><span class="src-php">?&gt;</span></li>
<li><a name="a24"></a>            &lt;/li&gt;</li>
<li><a name="a25"></a>        <span class="src-php">&lt;?php </span><span class="src-key">endforeach</span><span class="src-sym">; </span><span class="src-php">?&gt;</span></li>
<li><a name="a26"></a>        &lt;/ul&gt;</li>
<li><a name="a27"></a>        &lt;p class=&quot;nolabel&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Supprimer&quot; /&gt;&lt;/p&gt;</li>
<li><a name="a28"></a>    <span class="src-php">&lt;?php </span><span class="src-key">else</span>: <span class="src-php">?&gt;</span></li>
<li><a name="a29"></a>        &lt;p&gt;Aucune tâche n'a été créée.&lt;/p&gt;</li>
<li><a name="a30"></a>    <span class="src-php">&lt;?php </span><span class="src-key">endif</span><span class="src-sym">; </span><span class="src-php">?&gt;</span></li>
<li><a name="a31"></a>&lt;/form&gt;</li>
</ol></pre>
</div>
	<p class="notes" id="credit">
		Documentation generated on Sun, 30 Mar 2008 00:13:51 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</body>
</html>